const getters = {
    sexTxt(state) {
        let txt = '未知';
        switch (state.sex) {
            case 0:
                txt = '未知';
                break;
            case 1:
                txt = '男';
                break;
            case 2:
                txt = '女';
                break;
            default:
                break;
        }
        return txt;
    }
}

export default getters
